GeminiLabs\SiteReviews\Integrations\WooCommerce\Controllers\ProductController A

Total Complexity 70
Dependencies 13
Dependents 1
Total lines 478
Lines of code 290
Logical lines of code 142
Comment lines 132
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
modifyProductQuery()
S
53 5 22
updateProductData()
S
53 5 22
filterProductTaxQuery()
S
54 5 20
filterProductMetaQuery()
S
54 5 20
renderLoopRating()
S
57 4 16
renderReviews()
S
58 4 14
setMetaQueriesForFilteredRatings()
S
56 3 17
option()
S
59 3 14
renderTitleRating()
S
59 3 13
filterProductTabs()
S
60 3 12
filterCommentsTemplate()
S
70 3 6
renderQuickEditField()
S
72 3 5
renderBulkEditField()
S
72 3 5
filterWoocommerceTemplate()
S
66 3 9
filterStructuredData()
S
58 2 15
filterWidgetArgsTopRatedProducts()
S
61 2 12
updateProductRatingCounts()
S
65 2 9
filterProductPostClauses()
S
68 2 7
filterGetRatingHtml()
S
64 1 9
printInlineStyle()
S
82 1 3
registerMetaBoxes()
S
80 1 3
filterProductReviewCount()
S
78 1 3
filterProductDataTabs()
S
64 1 10
renderProductDataPanel()
S
71 1 6
filterProductAverageRating()
S
78 1 3
filterGetStarRatingHtml()
S
72 1 5
buildMetaQuery()
S
68 1 7
filterProductRatingCounts()
S
79 1 3